package com.fund.user.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;

@Getter
public enum JournalType implements IEnum<Integer> {
    PURCHASE(1,"申购"),
    REDEMPTION(2,"赎回"),
    OPEN_ACCOUNT(3,"开户"),
    RISK_ASSESSMENT(4,"风险承受能力测评"),
    MODIFY_CLIENT_INFO(5,"修改客户信息"),
    ADD_PRODUCT(6,"新增产品"),
    MODIFY_PRODUCT_INFO(7,"修改产品信息"),
    SETTLEMENT(8,"清算");


    private final Integer value;
    private final String desc;
    JournalType(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
    @Override
    public Integer getValue() {
        return this.value;
    }
}
